package com.jt.deepSeaMain;

import com.jt.config.TimingConfig;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.io.IOException;

@Component
@Slf4j
public class failTask  extends TimingConfig {
    @Override
    protected Boolean getSwitch() {
        return true;
    }

    @Override
    protected void processTask() throws IOException {

    }

    @Override
    protected String getCron() {
        return "0 0/1 * * * ?";
    }
}
